package org.ecshop.common.domain;

import lombok.Data;

import java.util.List;

@Data
public class PagingResult<T> {

	private Integer total;

	private List<T> rows;

	public PagingResult() {

	}

	public PagingResult(Integer total, List<T> rows) {
		this.total = total;
		this.rows = rows;
	}

}
